package com.behome.socket_proxy.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {

    @GetMapping("/")
    public String home() {
        return "index"; // 返回模板名称，Spring Boot会根据配置自动查找和渲染模板
    }
}
